package com.photoeditor.demo.util.face;


import com.lzy.okgo.callback.Callback;
import com.lzy.okgo.model.Progress;
import com.lzy.okgo.model.Response;
import com.lzy.okgo.request.base.Request;

import java.util.List;

public class FaceBaseCallback implements Callback {

    private boolean mIsDetectTwoImg;

    private String mRequestKey;

    private List<String> mOutputPath;

    protected boolean mGetResponse;

    public List<String> getOutputPath() {
        return mOutputPath;
    }

    public void setOutputPath(List<String> mOutputPath) {
        this.mOutputPath = mOutputPath;
    }

    public void setIsDetectTwoImg(boolean isTwo) {
        mIsDetectTwoImg = isTwo;
    }

    public String getRequestKey() {
        return mRequestKey;
    }

    public void setRequestKey(String mRequestKey) {
        this.mRequestKey = mRequestKey;
    }

    public boolean isDetectTwoImg() {
        return mIsDetectTwoImg;
    }

    @Override
    public void onStart(Request request) {}

    @Override
    public void onSuccess(Response response) {}

    @Override
    public void onCacheSuccess(Response response) {}

    @Override
    public void onError(Response response) {}

    @Override
    public void onFinish() {}

    @Override
    public void uploadProgress(Progress progress) {}

    @Override
    public void downloadProgress(Progress progress) {}

    @Override
    public Object convertResponse(okhttp3.Response response) throws Throwable {
        return null;
    }

    public boolean getResponse() {
        return mGetResponse;
    }
}
